<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<svg>
  <rect width="100" height="100" fill="red"/>
  <rect width="100" height="100" transform="scale(0.1)" fill="green" id="target"/>
</svg>
<script>
runAfterLayoutAndPaint(function() {
  document.getElementById('target').transform.baseVal.clear();
}, true);
</script>
